﻿@model System.Web.Mvc.HandleErrorInfo
@{
    Layout = "~/View/Shared/_SimpleLayout.cshtml";
    ViewBag.Title = "访问错误";
}
@*<hgroup class="title">*@
<h1 class="error">
    错误。</h1>
<br />
<h2 class="error">
    在处理你的请求时出错。</h2>
<div id="ErrorDetail" style="display: none">
    <h3>
        基本信息：</h3>
    <hr />
    @Html.DisplayFor(m => Model)
    <hr />
    @Html.DisplayFor(m => Request.Url)
    <br />
    @foreach (var item in Request.Form.AllKeys.Select(v => v + " = " + Request.Form[v]))
    {
        @Html.DisplayFor(m => item) <br />
    }
    <h3>
        错误信息：</h3>
    <hr />
    @Html.DisplayFor(m => Model.Exception)
    <h3>
        内部错误信息：</h3>
    <hr />
    @Html.DisplayFor(m => Model.Exception.InnerException)
</div>
@*</hgroup>*@ 